import datetime

a = datetime.datetime.now()
print(a)

dic = {
    'end_time': None
}

if str(dic['end_time']) < a:
    print(a)
else:
    print('ss')
